
body { 
  display: grid;
  grid-template-areas: 
    "header header header"
    "nav article ads"
    "footer footer footer";
  grid-template-rows: 110px 450px 1fr;  
  grid-template-columns: 20% 1fr 20%;
  grid-row-gap: 5px;
  grid-column-gap: 5px;
  height: 100vh;
  margin: 0;
  }  
header, footer, article, nav, div {
  padding: 1.2em;
  background: rgba(233, 228, 224, 0.164);
  }
#pageHeader {
  grid-area: header;
  }

#mainArticle { 
  grid-area: article;      
  }
#mainNav { 
  grid-area: nav; 
  }

#pageFooter {
    grid-area: footer;
    margin: 0px;
    border: 0px;
    padding: 0px;
    }
#siteAds { 
  grid-area: ads; 
  border: solid black 3px;
  margin: 0px;
  border: 0px;
  padding: 0px;
  } 
/* Stack the layout on small devices/viewports. */
@media all and (max-width: 575px) {
  body { 
    grid-template-areas: 
      "header"
      "article"
      "ads"
      "nav"
      "footer";
    grid-template-rows: auto;  
    grid-template-columns: 1fr;
 }
}
#pageHeader {
  margin: 0px;
  padding: 0px;
}
 .header-left{
  position: fixed;
  width: 100%;
  height: 25px;
  margin:0px;
  padding: 0px;
  background-color: rgb(224, 216, 216);
  box-shadow: 3px 3px 10px 3px bisque;
}
.dlzc{
  float: left;
  margin-top:0px;
  padding: 0px;
  
}
.header-right{
  float: right;
  
}
#header-l2{
  margin: 0px ;
}
#header-l2 img{
    height: 7%;
    width: 6%;
    float: left;
    border: 2px solid rgb(189, 131, 141);
}
#header-l2 p{

  float: left;
  font-style: italic;
  font-size: x-large;
  font-weight: 500;
  color: rgb(208, 88, 224);

}
#header-c{

  text-align: center;
}
#name{
  width: 300px;
  height: 40px;
}
#button{
  height: 42px;
  width: 60px;
  font-size: larger;
  background-color: red;
  border-radius: 10px;
}
article div ul{
  list-style: none;
  font-size: x-large;
}
article div ul li{
  display: inline-block;
}
#mainArticle div{
  margin:0px;
  border: 0px;
  padding: 0px;
}
#img{
  width: 100%;
  height: 350px;
}
#aads{
  margin: 0px;
  border: 0px;
  padding: 0px;
  width: 100%;
  height: 50%;
}
div form img{
  width: 100%;
  height: 45%;
  border: solid;
}
legend{
  text-align: center;
  letter-spacing: 6px;
  font-weight: 900;
  color: rgb(247, 141, 20);
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
nav{
  border: solid rgb(202, 137, 125) 6px;
  border-radius: 10px;
}
th{
  font-size: xx-small;
}
footer p{
  font-size: xx-large;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  text-align: center;
  font-weight: 600;
  margin: 0px;
}
footer div{
  display: flex;
  height: 60%;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}

footer div img{
  text-align: center;
  width: 20%;
  height: 60%;
  border: 2px solid black;
  margin: 20px;
}